<%- include('layout/header.ejs') %>
<%- include('layout/top.ejs') %>
<%- include('layout/nav.ejs') %>
<%- include('layout/banner.ejs') %>
  <div class="page">
    <div class="p-center">
      <% if (config.source != 'gzh') { %>
      <ul class="pc-menu" style="margin-right: 77px;">
        <% type.forEach(item => { %>
        <li class="pcm-list">
          <a class="pcml-a <%= pathname == item.name ? 'active' : '' %>" href="<%= config.host %>/<%= item.name %>/" title="<%= item.title %>"><%= item.title %></a>
        </li>
        <% }) %>
      </ul>
      <% } %>
      <div class="news-info">
        <h1 class="ni-title"><%= infoData.title %></h1>
        <%- infoData.content %>
        <div class="ni-page">
          <% if (pageData.prev) { %>
          <p class="nip-title">上一条：<a class="nipt-a" href="<%= config.host %>/<%= pathname %>/<%= pageData.prev.id %>.html" title="<%= pageData.prev.title %>"><%= pageData.prev.title %></a></p>
          <% } if (pageData.next) { %>
          <p class="nip-title">下一条：<a class="nipt-a" href="<%= config.host %>/<%= pathname %>/<%= pageData.next.id %>.html" title="<%= pageData.next.title %>"><%= pageData.next.title %></a></p>
          <% } %>
        </div>
      </div>
    </div>
  </div>
<%- include('layout/bottom.ejs') %>
<%- include('layout/footer.ejs') %>